package cn.wei.sdd.core.service;

import cn.wei.sdd.core.pojo.entity.ServiceArea;
import cn.wei.sdd.core.pojo.vo.ServiceAreaVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务区域表 服务类
 * </p>
 *
 * @author Wei
 * @since 2021-11-21
 */
public interface ServiceAreaService extends IService<ServiceArea> {

    List<ServiceAreaVO> listVO();

    void updateServiceArea(List<ServiceAreaVO> areaVOList, Long userId);

    Boolean isInRange(ServiceAreaVO serviceAreaVO);
}
